﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace NUnitTest.UnitTest.Targets
{
    [TestFixture]
    public class TestFixtureOrderTwo
    {
        static int counter = 1;

        [SetUp]
        public void Setup()
        {
            DummyDatabase.CreateTable(counter);
        }

        [Test]
        public void TestOne()
        {
            DummyDatabase.UseTable(counter);
        }

        [Test]
        public void TestTwo()
        {
            DummyDatabase.UseTable(counter);
        }

        [TearDown]
        public void TearDown()
        {
            DummyDatabase.DropTable(counter);
            counter++;
        }
    }
}
